<%= f.error_messages %>

<div class="ctrlHolder">
<label>Expense Title</label>
<%= f.text_field :name, :class=>'textInput' %></p>
<p class="formHint">This is the title your group-mates will see. Please use a title that is meaningful and of reasonable length.</p>
</div>

<div class="ctrlHolder">
<label>Amount <a href="#" onClick="expenseHelp()"><%= image_tag('../images/silk/help.png', :class=>'icon') %></a></label></label>
<%= f.text_field :amount, :class=>'textInput' %>
<p class="formHint">A valid number (with or without decimals) - no dollar signs.</p>
</div>

<div class="ctrlHolder">
<p><label>Payment Type <a href="#" onClick="expenseHelp()"><%= image_tag('../images/silk/help.png', :class=>'icon') %></a></label>
<%= select("expense", "pay_id", @pay_types, {:selected => "1"}, :html=>{:class=>'selectInput'}) %>
</div>

<div class="ctrlHolder">
<label>Parties involved <a href="#" onClick="expenseHelp()"><%= image_tag('../images/silk/help.png', :class=>'icon') %></a></label>
<%= collection_select("expense", "party" , @group_users, "id", "name", {}, {:multiple => true}) %>
</div>

<div class="ctrlHolder">
<label>Description</label></p>
<%= f.text_area :description, :rows=>10, :class=>'textAreaInput' %>
</div>



